package com.common.service;

import com.common.entity.PageUser;
import com.common.entity.User;
import com.common.entity.UserCorrelationRole;
import com.common.entity.UserRolesAndPermissions;

import java.util.List;

public interface UserService {

    public User createUser(User user);

    public User findUserByName(User user);
    
    public List<PageUser>  getAllUserList();
    
    public UserRolesAndPermissions getUsersRolesAndPermissions(User user); 
    
    public int correlationRole(UserCorrelationRole userRole);
    
    public int uncorrelationRole(UserCorrelationRole userRole);
}
